
#ifndef _MEMBER_BCONEARCONSTRAINT_H_
#define _MEMBER_BCONEARCONSTRAINT_H_

#include <BNode>
#include <BConearConstraint>

namespace BWE
{
	class member_BConearConstraint
	{
	public:
		member_BConearConstraint(BConearConstraint* constraint);
		~member_BConearConstraint();
		
		BConstraint*		boss;
		mutable BReal		twistAngle;

		BReal				twistSpan;
		BReal				swingSpan1;
		BReal				swingSpan2;

		BReal				softness;
		BReal				biasFactor;
		BReal				relaxFactor;
		BReal				damping;

		BReal				fixThresh;
		BVector				swingAxis;
		BVector				twistAxis;
		BReal				kSwing;
		BReal				kTwist;
		BReal				twistLimit;
		BReal				swingCorrection;
		BReal				twistCorrection;
		BReal				accSwingLimitImpulse;
		BReal				accTwistLimitImpulse;
	};
}

#endif
